package com.iotechn.unimall.data.domain;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;
import java.util.Date;
import java.util.List;

/**
 * 
 * 
 * @author chen
 * @email 1197346512@qq.com
 * @date 2021-06-09 10:56:31
 */

@Data
@TableName("unimall_card_order")
public class CardOrderDO extends SuperDO {

	/**
	 * 
	 */
	/**
	 * 订单来源
	 */
    @TableField("channel")
    private String channel;
	/**
	 * 订单状态
	 */
    @TableField("status")
    private Integer status;
	@TableField("address_id")
	private  Integer addressId;
	/**
	 * 退单状态
	 */
    @TableField("son_status")
    private Integer sonStatus;
	/**
	 * 储值卡订单号
	 */
    @TableField("card_order_no")
    private String cardOrderNo;

	/**
	 * 实付金额
	 */
	@TableField("total_price")
	private Integer totalPrice;

	/**
	 * 实付金额
	 */
    @TableField("actual_price")
    private Integer actualPrice;
	/**
	 * 支付金额
	 */
    @TableField("pay_price")
    private Integer payPrice;
	/**
	 * 支付码
	 */
    @TableField("pay_id")
    private String payId;
	/**
	 * 支付渠道
	 */
    @TableField("pay_channel")
    private String payChannel;
	/**
	 * 支付时间
	 */
    @TableField("gmt_pay")
    private Date gmtPay;
	/**
	 * 绑卡用户名称
	 */
    @TableField("card_user_name")
    private String cardUserName;
	/**
	 * 卡绑定用户id
	 */
    @TableField("card_user_id")
    private Long cardUserId;
	/**
	 * 绑卡手机号
	 */
    @TableField("card_phone")
    private String cardPhone;
	/**
	 * 操作类型   1:匿名激活卖卡 2:绑定卖卡
	 */
    @TableField("oper_type")
    private Integer operType;
	/**
	 * 退单id
	 */
    @TableField("refund_id")
    private Long refundId;
	/**
	 * 退单时间
	 */
    @TableField("refund_time")
    private Date refundTime;
	/**
	 * 门店id
	 */
    @TableField("store_id")
    private Long storeId;
	/**
	 * 收银员id
	 */
    @TableField("store_user_id")
    private Long storeUserId;
	/**
	 * 用户实际支付金额
	 */
    @TableField("payment_price")
    private Integer paymentPrice;
	/**
	 * 找零  paymentPrice-actual_price
	 */
    @TableField("change_price")
    private Integer changePrice;
	/**
	 * 抹零
	 */
    @TableField("small_price")
    private Integer smallPrice;
	/**
	 * 
	 */
    @TableField("gmt_create")
    private Date gmtCreate;
	/**
	 * 
	 */
    @TableField("gmt_update")
    private Date gmtUpdate;
	/**
	 * 备注信息
	 */
    @TableField("remarks")
    private String remarks;
	/**
	 * 三方支付订单号
	 */
	@TableField("third_trade_no")
	private String thirdTradeNo;


	private String province;

	private String city;

	private String county;

	private String address;

	private String phone;

	private String consignee;

	private Long cardId;

	private String cardNo;

	private String cardName;

}
